package com.learn.srp.service.impl;

import com.learn.srp.service.CatDoctorService;
import com.learn.srp.service.DogDoctorService;

public class DoctorImpl implements DogDoctorService, CatDoctorService {

    @Override
    public void seeCat(String catName) {
        System.out.println("给猫猫" + catName + "看病");
    }

    @Override
    public void seeDog(String dogName) {
        System.out.println("给狗狗" + dogName + "看病");
    }
}
